package com.bird.system.application.auth

import com.bird.system.application.common.pl.AuthUserInfo

interface AuthAppGateway {
    /**
     * 获取用户信息
     */
    fun oneUser(userName: String, password: String): AuthUserInfo?
    /**
     * 获取用户信息
     * @param userId 用户ID
     */
    fun oneUser(userId: Long): AuthUserInfo?

}